<template>
  <div>
    <div>
      <h4>Holden步行</h4>
      <el-row>
        <el-col :span="8">
          <span>Holden步行: </span>
          <el-select v-model="pgForm.holden_walk_value" style="width: 50%">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
          级
        </el-col>
        <el-col :span="14" :offset="2">
          <el-input
            class="input"
            style="width: 70%"
            type="text"
            v-model="pgForm.holden_walk_value">
          </el-input>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "holden_walk",
  title: "Holden步行",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      options: [
        {
          value: '不能步行或需2人以上的协助',
          label: '0'
        },
        {
          value: '需要1人连续不断地帮助才能行走',
          label: 'Ⅰ'
        },
        {
          value: '需1人在旁以间断的接触身体的帮助行走，步行不安全',
          label: 'Ⅱ'
        },
        {
          value: '需1人在旁监护或用言语指导，但不接触身体',
          label: 'Ⅲ'
        },
        {
          value: '在平地上独立步行，在楼梯或斜坡上行走需帮助',
          label: 'Ⅳ'
        },
        {
          value: '任何地方都能独立步行',
          label: 'Ⅴ'
        },
      ],
      pgForm: {
        holden_walk_value: '',
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
}
</style>
